﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;

namespace Com.CMS263.DAO
{
    public class CityDAO
    {
        public CityDAO() { }
        public IList<City> GetAllCityByPid(string pid)
        {
            return DBHelper.ExecuteHQL("from City where provinceId=" + pid).List<City>();
        }
    }
}
